export interface PageInfo {
    page: number,
    limit: number,
    total: number,
}
export interface BaseRequest<T> {
    param: T,
    pageInfo: PageInfo | any
}
export interface BaseResponse<T> {
    code: string,
    msg: string,
    data: T,
    pageInfo: PageInfo
}

export interface StaticThemeConfigModel {
    globalTitle: string | undefined,
    globalViceTitle: string | undefined,
    isFooter: boolean | false,
}

export interface StaticThemeConfigsModel {
    config: StaticThemeConfigModel
}

export interface UserInfoSearchParamModel {
    userName: string | undefined,
    loginName: string | undefined,
}

export interface UserInfoListModel {
    id: string | undefined,
    userName: string | undefined,
    loginName: string | undefined,
    userStatus: number | undefined,
    createTime: Date | undefined,

}

export interface UserInfoDetailModel {
    id: string | undefined,
    userName: string | undefined,
    loginName: string | undefined,
    userStatus: number | undefined,

}

export interface UserInfoAddParamModel {
    userName: string | undefined,
    loginName: string | undefined,
    password: string | undefined,
    userStatus: number | undefined,
}

export interface UserInfoEditParamModel {
    id: string | undefined,
    userName: string | undefined,
    loginName: string | undefined,
    password: string | undefined,
    userStatus: number | undefined,
}

export interface UserInfoDeleteParamModel {
    idList: string[],
}

export interface LoginPramModel {
    username: string | undefined,
    password: string | undefined,
}